<template>
	<view>{{selectData}}
	</view>
</template>
<script lang="ts" setup>
	import { ref, onMounted, onUnmounted } from 'vue';
	const selectData = ref([]);
	onMounted(() => {
		uni.$on('onSelectAddress', (data) => {
			console.log('---data', JSON.stringify(data));
			selectData.value = data;
		})
	})
	onUnmounted(() => {
		uni.$off('onSelectAddress')
	})
</script>